Collapses an expanded node, or item, in a tree control.
Note: This statement is not added to recorded scripts. You can use this statement in scripts, but it is generally not needed.
Syntax
Collapse("Item")
Arguments
| Argument | Description |
|---|---|
| Item | Node to collapse. |
Keyword View notes
The node to collapse is displayed in the Information column.
Supported objects
Tree
Example
Window("WysiCorp CRM").Tree("treeViewProducts").Collapse("ALM Solutions/Solution Design")